Pulling from private repository with passphrase protected key fails
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
When using snapcraft --bind-ssh with a key that is passphrase protected, the passphrase is never asked and snapcraft fails.
logs:
Starting Snapcraft 8.0.2
Logging execution to '~/.local/state/snapcraft/log/snapcraft-20240212-125110.139787.log'
Running on amd64 for amd64
Launching instance...
Creating instance from base instance
Starting instance
Starting Snapcraft 8.0.2
Logging execution to '/tmp/snapcraft.log'
Running on amd64 for amd64
Initializing parts lifecycle
Installing build-packages
Installing build-snaps
Pulling cos-registration-agent
Failed to pull source: command ['git', 'clone', '--recursive', '<email address hidden>:test/test.git', '/root/parts/test/src'] exited with code 128.
Make sure sources are correctly specified.
Evaluation history
No evaluation history available.